package com.ruoyi.workflow.mapper;

import com.ruoyi.workflow.domain.OaFace;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @描述 人脸库mapper层
 * @版本 v1
 * @作者 wangxuqing
 * @日期 2023-07-27 13:55
 */
@Repository
public interface OaFaceMapper {
    void insertSelective(@Param("oaFace") OaFace oaFace);
    OaFace selectByPrimaryKey(@Param("oaFace") OaFace oaFace);
    List<OaFace> selectByUserId(@Param("oaFace") OaFace oaFace);
    void deleteByPrimaryKey(@Param("oaFace") OaFace oaFace);
    void deleteByUserId(@Param("oaFace") OaFace oaFace);
    void updateSelective(@Param("oaFace") OaFace oaFace);
    void deleteByFaceTokenList(@Param("list") List<String> faceTokenList);

    void deleteByOuterId(@Param("outerId") String outerId);

    void deleteByFaceSetToken(@Param("faceSetToken") String faceSetToken);
}
